package cn.jobstart.web.common;

import org.apache.http.client.methods.HttpEntityEnclosingRequestBase;
import org.springframework.http.HttpMethod;

import java.net.URI;

/**
 * @author sunke
 * @Date 2019-10-08 16:26
 * @description
 */

public class HttpGetRequestWithEntity extends HttpEntityEnclosingRequestBase {

    public HttpGetRequestWithEntity(final URI uri) {
        super.setURI(uri);
    }
    @Override
    public String getMethod() {
        return HttpMethod.GET.name();
    }
}
